import request from '@/utils/request';

const userRoleBaseURL = '/userRole'

export function updateUserRoleById(data){
    return request({
        url: userRoleBaseURL+'/updateUserRoleById',
        method: 'post',
        data
    })
}

export function banUserById(data){
    return request({
        url: userRoleBaseURL+'/banUserById',
        method: 'post',
        data
    })
}

export function recoverUserRoleById(data){
    return request({
        url: userRoleBaseURL+'/recoverUserRoleById',
        method: 'post',
        data
    })
}